package com.study.service;

import com.study.dto.MyPage;
import com.study.dto.Search;
import com.study.entity.Counties;

import java.util.List;

/**
 * @author lxl
 * @version 2022-06-20 15:40
 */

public interface CountiesService {
    int deleteByPrimaryKey(Integer countiesId);

    int insert(Counties row);

    int insertSelective(Counties row);

    Counties selectByPrimaryKey(Integer countiesId);

    int updateByPrimaryKeySelective(Counties row);

    int updateByPrimaryKey(Counties row);

    MyPage<Counties> selects(Search search);

    // 根据县区名模糊查询
    List<Counties> dimByName(String countiesName);

    List<Counties> selectAll();
    
}
